Skip to content

Handle relocation of packaged repo configs to /usr/share/dnf5 - #1525

Merged
brlane-rht merged 1 commit into
weldr:masterfrom
AdamWill:repo-usr-relocate
Aug 12, 2026
Merged

Handle relocation of packaged repo configs to /usr/share/dnf5#1525
brlane-rht merged 1 commit into
weldr:masterfrom
AdamWill:repo-usr-relocate

Conversation

@AdamWill

@AdamWill AdamWill commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

In Fedora 45+, packaged repo configs are moved to /usr/share/dnf5:
https://fedoraproject.org/wiki/Changes/RelocateRpmRepoConfigsToUsr
This adjusts lorax appropriately. We drop the renaming of the repo directory entirely because it is no longer needed. It was originally introduced in rhinstaller/anaconda@c513895 to solve a problem involving upgrades. anaconda has not handled upgrades since 2012. anaconda will be updated to not expect this rename any more.

In Fedora 45+, packaged repo configs are moved to /usr/share/dnf5:
https://fedoraproject.org/wiki/Changes/RelocateRpmRepoConfigsToUsr
This adjusts lorax appropriately. We drop the renaming of the
repo directory entirely because it is no longer needed. It was
originally introduced in
rhinstaller/anaconda@c513895
to solve a problem involving upgrades. anaconda has not handled
upgrades since 2012. anaconda will be updated to not expect this
rename any more.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
@coveralls

Copy link
Copy Markdown

Coverage Report for CI Build 31619629656

Coverage remained the same at 41.561%

Details

  • Coverage remained the same as the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 3914
Covered Lines: 1643
Line Coverage: 41.98%
Relevant Branches: 2106
Covered Branches: 859
Branch Coverage: 40.79%
Branches in Coverage %: Yes
Coverage Strength: 0.42 hits per line

💛 - Coveralls

@AdamWill

Copy link
Copy Markdown
Contributor Author

anaconda PR: rhinstaller/anaconda#7233

@brlane-rht brlane-rht left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

@brlane-rht
brlane-rht merged commit e726dfe into weldr:master Aug 12, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants